/*
 * The contents of this file are subject to the GNU GPL v3 (the "License"); 
 * you may not use this file except in compliance with the License. You may 
 * obtain a copy of the License at URL http://www.gnu.org/licenses/gpl.html
 *
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 *
 * The Original Code is EATEP (eater).
 *
 * The development of the EATEP was supported by Veterans Affairs Health 
 * Services Research and Development Award (HIR-08-204). The Initial 
 * Developer of the Original Code is VA Informatics and Computing 
 * Infrastructure (VINCI) and University of Utah.  
 * Copyright (C) 2009 - 2013.  All Rights Reserved.
 *
 * Current information about eHOST can be located at 
 * http://http://code.google.com/p/ehost/
 * 
 * Categories:
 * Scientific/Engineering
 * 
 * Intended Audience:
 * Science/Research
 * 
 * User Interface:
 * Java Swing, Java AWT, Custom Components.
 * 
 * Programming Language
 * Java 1.6
 *
 * Contributor(s):
 *   Jianwei "Chris" Leng <Chris.Leng@utah.edu> (Original Author), 2009-2013
 *   
 *   
 */

import java.awt.EventQueue;


/**class to initialize the program, load resource.*/
public class Starter {

	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					// launch the main gui
					//MainGUI frame = new MainGUI();
					//frame.setVisible(true);
					
					gui.GTMainWindow maingui = new gui.GTMainWindow();
					maingui.setVisible( true );
					
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}
}
